﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.IT
{
    /// <summary>
    /// 库存表
    /// </summary>
    [Table("IT_LocalMaterial")]
    public partial class IT_LocalMaterial
    {

        /// <summary>
        /// Id
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }
        /// <summary>
        /// 物料ID
        /// </summary>
        public String MaterialId { get; set; }

        /// <summary>
        /// 仓库ID
        /// </summary>
        public String StorId { get; set; }

        /// <summary>
        /// 货位ID
        /// </summary>
        public String LocalId { get; set; }

        /// <summary>
        /// 货区ID
        /// </summary>
        public String AreaId { get; set; }

        /// <summary>
        /// 货架ID
        /// </summary>
        public String RackId { get; set; }
        /// <summary>
        /// 批号
        /// </summary>
        public String Batch { get; set; }
        /// <summary>
        /// 数量_新
        /// </summary>
        public double Nums_N { get; set; }
        /// <summary>
        /// 数量_旧
        /// </summary>
        public double Nums_O { get; set; }
        /// <summary>
        /// 数量_预留
        /// </summary>
        public double Nums_R { get; set; }
        /// <summary>
        /// 审核前数量
        /// </summary>
        public double ScanNum { get; set; }
        /// <summary>
        /// 审核后数量
        /// </summary>
        public double CheckNum { get; set; }

        /// <summary>
        /// 创建者
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 删除标识
        /// </summary>
        public bool Deleted { get; set; }


    }
    /// <summary>
    /// DTO拼接类
    /// </summary>
    public partial class IT_LocalMaterialDTOInfo : IT_LocalMaterial
    {

        public String LocalId { get; set; }

        public String MaterialIdIn { get; set; }


    }

}